Repository navigation
Conversation
…60s boot fix - Backwards compatibility for Fire OS 6 (Android 7.1 / API 25): - Lower minSdk to 25 and enable Java 8+ coreLibraryDesugaring for java.time. - Guard PackageManager.getChangedPackages() behind Build.VERSION.SDK_INT >= 26. - Fix 60-second Fire OS boot animation stall: - Signal Settings.Secure 'bootanim.real_home_ready' = 1 in MainActivity to prevent WMS 60s fallback timeout when stock home is disabled. - Full Amazon Settings accessibility: - Add com.amazon.tv.settings.v2 to manifest queries and re-prioritize MainSettingsActivity in settings fallback array. - Validate candidate intent with resolveActivity() before returning in SystemSettings. - Documentation: - Add docs/devices/amazon-fire-tv-native-home.md with verified setup for Fire OS 6 (Mantis) and Fire OS 7 (Kara).
|
maintainer-bot review · this one needs a maintainer decision Thanks for the PR! Couldn't review this one automatically; it goes to the maintainer. Checks
Reviewed by maintainer-bot · runs on 0G Private Computer |
- Add comprehensive guide for replacing stock Fire TV launcher with 0 ms latency. - Detail 100% wireless root workflow for Fire OS 7 (AFTKA / kara / 4K Max 1st Gen). - Detail 100% wireless root workflow for Fire OS 6 (AFTMM / mantis / 4K 1st Gen). - Document NDK API 24 compilation requirements and aligned_alloc libc fix for Mantis. - Document safe component disabling (HomeActivity_vNext) to preserve full 14-grid Amazon Settings. - Detail the 60-second boot animation stall mechanism and verify 57s speedup.
Author
|
This is AI slop and fully vibecoded but works well in my testing and also one of the only methods that work across these different versions. Way better than having just debloat on firestick |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation & Overview
Currently, running CleanYourTV on Amazon Fire TV sticks either relies on
HomeKeyServiceaccessibility redirection (which introduces latency and visual stutter) or runs into runtime crashes on older Fire OS devices (Fire OS 6 / Android 7.1).This PR introduces compatibility fixes, boot optimizations, and complete system settings routing verified across two hardware generations:
AFTKA/kara)AFTMM/mantis)Key Changes
Fire OS 6 / Android 7.1 Compatibility:
minSdkfrom 26 to 25 inlauncher/app/build.gradle.coreLibraryDesugaring(com.android.tools:desugar_jdk_libs:2.0.4) to support modernjava.time(LocalDate) APIs on API 25 withoutNoClassDefFoundError.PackageManager.getChangedPackages()(introduced in API 26) withBuild.VERSION.SDK_INT >= 26inMainActivity.javato preventNoSuchMethodError.Fix 60-Second Fire OS Boot Animation Stall:
HomeActivity_vNextis disabled, Fire OS WindowManagerService holds the boot animation on screen for a 60-second fallback timeout waiting for a real home readiness signal.Settings.Secure.putInt(..., "bootanim.real_home_ready", 1)inonCreate()andonResume().wm_boot_animation_done).Full 14-Category Amazon Settings Page Access:
com.amazon.tv.launcher.ui.MainSettingsActivityahead ofDeviceActivity(which only showed "My Fire TV / About").intent.resolveActivity(pm) != nullcheck inSystemSettings.javafor robust fallback handling.com.amazon.tv.settings.v2to manifest<queries>.100% Wireless Root Guides for Both Device Generations:
docs/devices/amazon-fire-tv-native-home.mddetailing:kara/sheldon): Wireless deployment with GhostLock root daemon over Wi-Fi ADB.mantis): Wireless deployment using API 24 NDK compilation to resolve the Android 7.1aligned_alloclibc symbol mismatch and MT8695 memory offsets.pm disable com.amazon.tv.launcher/.ui.HomeActivity_vNext) to preserve all background services, Alexa overlays, and the full settings grid.